package com.xinziruo.crawl.domain.crawl.expression;

import org.codehaus.jackson.annotate.JsonIgnore;

import com.xinziruo.crawl.domain.util.AbstractDomain;

/**
 * 
 * @author loudyn
 * 
 */
public class CrawlParseStringFilterConfig extends AbstractDomain {
	
	private static final long serialVersionUID = 1L;

	private CrawlParseExpression crawlParseExpression;
	private int sort;
	private String regex;
	private String replacement;

	@JsonIgnore
	public CrawlParseExpression getCrawlParseExpression() {
		return crawlParseExpression;
	}

	public void setCrawlParseExpression(CrawlParseExpression crawlParseExpression) {
		this.crawlParseExpression = crawlParseExpression;
	}

	public int getSort() {
		return sort;
	}

	public void setSort(int sort) {
		this.sort = sort;
	}

	public String getRegex() {
		return regex;
	}

	public void setRegex(String regex) {
		this.regex = regex;
	}

	public String getReplacement() {
		return replacement;
	}

	public void setReplacement(String replacement) {
		this.replacement = replacement;
	}

}
